PXC Documentation

PXC Home

Draw Random Shape

pre 1.18

Generate random shape, use for testing purposes.

Node Data

Display name

Draw Random Shape

Internal name

Node_Random_Shape

Inheritances

Node_Processor
Node_Random_Shape

Inputs

Output

vec2

Dimension

surface

Uv Map

slider

Uv Mix

Shape

text

Types

float

Amount

range

Size

range

Shift

text

Mirror

Cut

slider

Chance

slider

Size

range

Shift

slider

Polar

text

Mirror

Render

float

Corner

enum

Ssaa

Outputs

surface

Surface Out


Draw random shape by scattering basic primitives (rectangle, triangle, elllipse) around the surface.



Properties


Shape
TypesPool of all shapes to randomly select from:\n- r: Rounded Rectangle\n- e: Ellipse\n- t: Triangle
AmountAmount of object to scatter.
SizeRange of shape size.
ShiftShape offset.
MirrorPool of all mirror type to randomly select from:\n- -: None\n- h: Horizontal\n- v: Vertical\n- b: Both
Cut
ChanceChance to cut/subtract shape instead of adding it.
Render
CornerApply decorner to smooth the output.
SsaaApply SSAA anti-alising (render in larger surface then scaled down.)



Related Links